package com.zixuan.sina.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class PostRequestAdd {
    private String postId;
    private String userId;
    private String content;
    private String title;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date postTime;
    private String videoUrl;
    private String imgUrl;
    private String type;
    private List<Long> topicIds;
}
